package com.kcht.rfid.rd30.secretary.core.command;

import com.kcht.rfid.rd30.secretary.core.common.ReaderCommandType;

import java.util.ArrayList;
import java.util.List;

public class ReaderCommand {
    /**
     * 循环操作或者单次操作
     * */
    private ReaderCommandType commandType=ReaderCommandType.SINGLE;

    private List<BasicReaderCommand> basicReaderCommands =new ArrayList<>();

    public ReaderCommandType getCommandType() {
        return commandType;
    }

    public void setCommandType(ReaderCommandType commandType) {
        this.commandType = commandType;
    }
    public void addReaderCommand(BasicReaderCommand basicReaderCommand){
        basicReaderCommands.add(basicReaderCommand);
    }

    public List<BasicReaderCommand> getBasicReaderCommands() {
        return basicReaderCommands;
    }
}

